package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.RecommendUser;

import java.util.List;

//查询今日佳人接口，操作的是MongoDB数据库
public interface RecommendUserApi {

    RecommendUser queryUserIdMaxScore(Long toUserId);

    //推荐好友的分页查询
    List<RecommendUser> queryRecommendFriends(Integer page, Integer pagesize, Long toUserId);

    //根据userId和toUserId查询推荐人
    RecommendUser queryRecommendFriend(Long id, Long userId);

    //查询卡片的推荐好友
    List<RecommendUser> lookCardsList(Long userId, int i);
}
